package com.itheima.pojo;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.*;
import java.io.Serializable;
import java.lang.String;
import java.lang.Integer;
/****
 * @Author:shenkunlin
 * @Description:UserInfo构建
 * @Date 2019/6/14 19:13
 *****/
@Table(name="user_info")
@NameStyle(Style.camelhumpAndLowercase)
public class UserInfo implements Serializable{

	@Id
	private String account;//
	private Integer money;//
	private String name;//



	//get方法
	public String getAccount() {
		return account;
	}

	//set方法
	public void setAccount(String account) {
		this.account = account;
	}
	//get方法
	public Integer getMoney() {
		return money;
	}

	//set方法
	public void setMoney(Integer money) {
		this.money = money;
	}
	//get方法
	public String getName() {
		return name;
	}

	//set方法
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "UserInfo{" +
				"account='" + account + '\'' +
				", money=" + money +
				", name='" + name + '\'' +
				'}';
	}
}
